#ifndef __API_KNOB_H
#define __API_KNOB_H

#include "userconfig.h"

//KNOB
typedef struct
{
	u8 KnobCwFlag;
	u8 KnobCcwFlag;
	u16 KnobFreeCount;
	u8 KnobPulseNum;
}KnobBuff_t;
extern KnobBuff_t KnobBuff;

void Api_Knob_Init(void);
void Api_Knob_CheckDirection(void);
void Api_Knob_CheckKnobPulseNum(void);
void Api_Knob_ClearKnobPulseNum(void);
void Api_Knob_ClearKnobCount(void);


unsigned char Get_Stove_delay(void);
void Set_Stove_delay(void);
void Stove_delay_1sRoutine(void);
#endif
